#ifndef __LXZ_FILE_CMD_H__
#define __LXZ_FILE_CMD_H__

#define LXZAT_FILE_NUM_MAX 5

typedef enum _LXZAT_FRW_STATUS_E
{
    E_LFRWS_IDLE,
    E_LFRWS_OPEN,
    E_LFRWS_WRITING,
    E_LFRWS_MAX
}LXZAT_FRW_STATUS_E;

typedef enum _LXZAT_FQUERY_TYPE_E
{
    E_LFQT_FILESIZE,
    E_LFQT_FILENAME,
    E_LFQT_MAX
}LXZAT_FQUERY_TYPE_E;

#ifdef LXZAT_SIMU
  #ifdef LXZAT_WIN32
    #define LXZAT_FILE_ROOT_DIRECTORY "./data"
  #else /* LXZAT_WIN32 */
    #define LXZAT_FILE_ROOT_DIRECTORY "/data"
  #endif/* LXZAT_WIN32 */
#else /* LXZAT_SIMU */
  #define LXZAT_FILE_ROOT_DIRECTORY "/data"
#endif/* LXZAT_SIMU */

#define LXZAT_FILE_MODE_MAX 8
#define LXZAT_FILE_PATH_MAX 128

#define LXZAT_FILE_TRYREAD_MIN    1
#define LXZAT_FILE_TRYWRITE_MIN   1
#define LXZAT_FILE_TRYREAD_MAX    4096
#define LXZAT_FILE_TRYWRITE_MAX   4096



#endif /* __LXZ_FILE_CMD_H__ */

